
#ifndef	_RESPONSEMESSAGESTREAM_H_
#define	_RESPONSEMESSAGESTREAM_H_	1


#include "MessageStream.h"
#include "MessageFirstLine.h"


class CResponseMessageStream	: public CMessageStream
{
public:
	BOOL			SetStream(char *stream, unsigned len);
	CStatusLine &	GetStatusLine() { return m_StatusLine; }

	char *	AssembleMessage(char* buf, int* buflen);
	void	Cleanup();

private:
	BOOL	MakeEntityBody(char* body, unsigned len);

private:
	CStatusLine	m_StatusLine;
};


#endif